<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>宠物领养网   我的空间</title>
    <script type="text/javascript" src="${pageContext.request.contextPath}/jquery/jquery.min.js"></script>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/reset.css"/>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/myplace.css"/>
	
  </head>
  
  <body>
     <div class="m_left">
	        <div class="inner pd1">
	          <ul class="stats-list clf">
	            <li><strong>${sessionScope.info.articlenum }</strong><span>文章</span></li>
	            <li><strong>${sessionScope.info.likenum }</strong><span>粉丝</span></li>
	            <li><strong>${sessionScope.info.fangke }</strong><span>访客</span></li>
	          </ul>
	        </div>
	        <div class="inner mt12 p0">
	          <div class="hd">
	            <h3>个人资料</h3>
	          </div>
	          <div class="bd">
	            <ul class="detail-list">
	              <li><i class="i-nc"></i>账号：<span>${sessionScope.user.id }</span></li>
	              <li><i class="i-dj"></i>用户名：<span>${sessionScope.user.name }</span></li>
	              <li><i class="i-ip"></i>邮箱：<span>${sessionScope.user.email }</span></li>
	              <c:if test="${sessionScope.info.isok == 'no' || sessionScope.info.isok == ''}">
	            	<li class="born">
	            		<span style="color:red;margin-left: 10px;">信息没有完善...</span>
	            		<a href="${pageContext.request.contextPath}/user/infos">查看详细资料</a>
	            	</li>
	              </c:if>
	              <c:if test="${sessionScope.info.isok == 'yes'}">
	            	<li class="born">
	            		<a href="${pageContext.request.contextPath}/user/infos">查看详细资料</a>
	            	</li>
	              </c:if>
	            </ul>
	          </div>
	        </div>
	        <div class="inner mt12 p0">
	          <div class="hd">
	            <h3>我的访客</h3>
	          </div>
	          <div class="bd">
	            <ul class="avatar-list clf">
	              <li>
	              	<a href="#" target="_blank">
	              	<img src="${pageContext.request.contextPath}/client/images/user_head.jpg" alt="访客">
	                <span class="a-name">炜神</span>
	                </a>
	              </li>
	            </ul>
	          </div>
	        </div>
	      </div>
  </body>
</html>
